package pers.cocoadel.springcloud.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import pers.cocoadel.springcloud.domain.Storage;

@Mapper
public interface StorageDao
{
    void update(@Param("productId")Long productId, @Param("used")Integer used, @Param("residue")Integer residue);

    Storage getById(Long productId);
}
